package com.han.spider.safecounty;

import org.quartz.Job;
import org.quartz.JobExecutionContext;

import java.io.IOException;

/**
 * @Author: Hanjiafeng
 * @Date: 2020年6月19日
 */
public class QuartzJob implements Job {
    @Override
    public void execute(JobExecutionContext content) {
        try {
            Login login = new Login("15305672778", "ABCabc123456");
            String cookie = login.loginIn();
            Select select = new Select(cookie);
            select.find();
        } catch (InterruptedException | IOException e) {
            e.printStackTrace();
        }
    }
}